/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.stock.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 盘点策略Entity
 * @author 盘点策略
 * @version 2019-12-21
 */
public class PdCl extends DataEntity<PdCl> {
	
	private static final long serialVersionUID = 1L;
	private String cycle;		// 周期
	private String fangwei;		// 范围
	private String cdate;		// 日期
	private String gongju;		// 工具
	
	public PdCl() {
		super();
	}

	public PdCl(String id){
		super(id);
	}

	@Length(min=0, max=20, message="周期长度必须介于 0 和 20 之间")
	public String getCycle() {
		return cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}
	
	@Length(min=0, max=255, message="范围长度必须介于 0 和 255 之间")
	public String getFangwei() {
		return fangwei;
	}

	public void setFangwei(String fangwei) {
		this.fangwei = fangwei;
	}
	
	@Length(min=0, max=255, message="日期长度必须介于 0 和 255 之间")
	public String getCdate() {
		return cdate;
	}

	public void setCdate(String cdate) {
		this.cdate = cdate;
	}
	
	@Length(min=0, max=255, message="工具长度必须介于 0 和 255 之间")
	public String getGongju() {
		return gongju;
	}

	public void setGongju(String gongju) {
		this.gongju = gongju;
	}
	
}